11.5 HSM concurrency
You can control the multithreading behavior of eKeyServer (the MyID key server service) using registry settings on the MyID application server.
11.5.1 Concurrent sessions
HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\MasterCard\KeyProviderMaxConcurrentSessions
This option controls the number of HSM sessions that will be created by the key server; this acts as a cap on the number of concurrent operations, and any additional operations beyond this will be queued for execution until a session becomes available. Setting this value too high may cause excessive load on the HSM and degrade performance.
You can also set this key to 0 to disable support for concurrent sessions. Concurrent sessions are also disabled if this key is missing from the registry.
The installer sets the default value for KeyProviderMaxConcurrentSessions in the registry to 10.
11.5.2 Retries
HKEY_LOCAL_MACHINE\SOFTWARE\Intercede\Edefice\MasterCardKeyProviderMaxRetries
This option defines the maximum number of times a failed operation will be retried by the key server, not inclusive of the initial attempt.
The default for KeyProviderMaxRetries is 5.
Retries are possible only when a PIN is either not required, or is saved in the registry.